package com.dongdongshop.service.search;

import com.dongdongshop.pojo.item.TbItem;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.io.IOException;
import java.util.List;

public interface SearchService {
    void saveItemElasticSearch(Long[] ids) throws JsonProcessingException;

    List<TbItem> findItemByElasticSearch(String name) throws IOException;
}
